<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>欢迎光临</title>
  <link rel="stylesheet" type="text/css" href="/stylesheets/base.css">
  <link rel="stylesheet" type="text/css" href="/stylesheets/home.css">
  <link rel="stylesheet" type="text/css" href="/stylesheets/index.css">
  <link rel="stylesheet" type="text/css" href="/stylesheets/gerenxinxi.css">
  <style type="text/css" media="screen">
  

</style>
</head>
<body>
  <div id="all">
    <div id="top">
      <div id="topa">
        <ul>    
          <% for(var i =0 ;i<data.length;i++){%>
          <%if(data[i].a_name!=null){%>
                     <li id="a">欢迎*<a href="/gerenxinxi"><%=data[i].a_name%></a></li>
                    <li id="closeLogin"><a href="javascript:loginClose('<%=data[i].a_name%>')">退出登录</a></li>
                    <%break;%>
          <%}else if(i>3&&data[i].a_name==null){%>
          <li id="a"><a href="/login">亲！请登录</a></li>
           <%break;%>
          <%}%>
          <%}%>
        </ul>
      </div>
      <div id="topb">
        <ul>
          <li ><a href="/hregist">后台管理</a></li>
          <li id="b"><a href=""><img src="/images/sm_r7_c23.jpg">联系客服</a></li>
        </ul>
      </div>
    </div>
    <div id="logo">
      <div id="img3"><img src="/images/touz.png" style="height: 100px  "></div>
      <div id="img2"><img src="/images/tou.png" style="height: 100px  "></div>

      <div id="img"><img src="/images/logo1.png" alt=""></div>
      <div id="ming">JOINFIT</div>
    </div>
    <div id="head">
      <ul>
        <li><a href="/">首页</a></li>
        <li ><a href="javascript:shopp_car()">购物车</a></li>
        <li ><a href="javascript:dingdan()">查看订单</a></li>
        <li ><a href="/huiyuan">会员修改</a></li>
        <li ><a href="/zhuce">注册有礼</a></li>
        <li ><a href="/liaotian">聊天室</a></li>
      </ul>
      
    </div>
    <div id="centen">
      <img src="/images/ditu.jpg" id="dipian">
    </div>
    <div>
    <p>我的主页</p> 
    </div>
<div id="left">
    <div id="grgn">
    <ul>
        <li>主要功能</li>
        <li><a href="/huiyuan">修改个人信息</a></li>
        <li><a href="/shopp_car">查看购物车</a></li>
        <li><a href="/dingdan">订单信息</a></li>
      </ur> 
    </div>
    </div>

    <table id="xx" >
      <tr><td colspan="2">个人信息</td></tr>
      <% for(var i =0 ;i<data.length;i++){%>
      
      
      <tr>
        <td id="haha">账号:</td>
        <td><%=data[i].a_name%></td>
      </tr>
      <tr>
        <td id="haha">电话:</td>
        <td><%=data[i].a_phone%></td>
      </tr>
      <tr>
        <td id="haha">性别:</td>
        <td><%=data[i].a_sex%></td>
      </tr>
    
    
    <%} %>
  </tr>
    </table>

  

</body>
</html>